﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
    MasterPageFile="~/Beamonkey.master" %>

<%@ Register Src="~/Controls/CalendarControl.ascx" TagPrefix="uc" TagName="Calendar" %>

<asp:Content ID="HeadContent" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content='<%=sKeywords %>' />
    <meta name="description" content='<%=sDescription %>' />
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <%-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>

    <script src="js/jquery.nivo.slider.pack.js" type="text/javascript"></script>--%>
    <%-- <script type="text/javascript">
        $(window).load(function() {
            $('#slider').nivoSlider({
                effect: 'random',
                slices: 15,
                animSpeed: 500,
                pauseTime: 3000,
                startSlide: 0, //Set starting Slide (0 index)
                directionNav: false, //Next &amp; Prev
                directionNavHide: true, //Only show on hover
                controlNav: true, //1,2,3...
                controlNavThumbs: false, //Use thumbnails for Control Nav
                controlNavThumbsSearch: '.jpg', //Replace this with...
                controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
                keyboardNav: true, //Use left &amp; right arrows
                pauseOnHover: true, //Stop animation while hovering
                manualAdvance: false, //Force manual transitions
                captionOpacity: 0.8, //Universal caption opacity
                beforeChange: function() { },
                afterChange: function() { },
                slideshowEnd: function() { } //Triggers after all slides have been shown
            });
        });
    </script>

    <div id="slider" class="mainflash">
        <%=sImages %>
    </div>--%>
    <div class="maintext">
        <div id="ContentTitle" runat="server">
        </div>
        <div style="height: 210px;">
            <%=Article %></div>
    </div>
    <div class="cal1">
        <h2>
            <%=FUNC.GetPhrase(7) %></h2>
        <uc:Calendar runat="server" ID="Calendar1" />
        <asp:DataList runat="server" ID="dlEvents">
            <ItemTemplate>
                <asp:Label runat="server" ID="lblDate" CssClass="MainPageEvents" Text='<%# Convert.ToDateTime(Eval("startdate")).ToString("dd.MM") %>'></asp:Label>
                <asp:HyperLink runat="server" ID="lnkText" CssClass="MainPageEvents" Text='<%# Eval("Title")%>'
                    NavigateUrl='<%# Eval("ID","article.aspx?ID={0}")  %>'></asp:HyperLink>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <div style="clear: both;">
    </div>
    <div class="MPButtonsFooter">
        <div class="mainb1">
            <a href="about.aspx?type=4">
                <%=FUNC.GetPhrase(42) %></a></div>
        <div class="mainb2">
            <a href="events.aspx">
                <%=FUNC.GetPhrase(12) %></a></div>
    </div>
    <div class="MPBanner">
        <object  width="580" height="100">
            <embed src="gallery/banners/HPBanner.swf?t=<%= DateTime.Now.Millisecond %>" width="580" height="100"></embed>
        </object>
    </div>
    <div class="MPFooter">
        <div class="footcont" style="margin-top: 0px;">
            <p style="margin-top: 0px;">
                <%=((Rondo)Page.Master).sFooterText%>
            </p>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Footer" Visible="false" runat="Server">
</asp:Content>
